//
//  mapView.h
//  map
//
//  Created by 王彦森 on 16/4/25.
//  Copyright © 2016年 王彦森. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AMapNaviKit/MAMapKit.h>
#import <AMapSearchKit/AMapSearchKit.h>
#import <AMapSearchKit/AMapSearchObj.h>
#import <MapKit/MapKit.h>
#import "ChatViewController.h"
#import "model.h"
#import "AddViewController.h"
#import <AMapNaviKit/AMapNaviManager.h>



@interface mapView : UIView
@property(nonatomic,strong)MAMapView *mapView;
@property(nonatomic,strong)UIButton *Locaton;//定位按钮
@property(nonatomic,strong)UIButton *tracking;//跟踪后按钮
@property(nonatomic,strong)MAPointAnnotation *pointAnnotation;//大头针
@property(nonatomic,strong)UIButton *searchButton;//搜索功能;
@property(nonatomic,strong)AMapSearchAPI *search;
@property(nonatomic,assign)CGFloat latitude;
@property(nonatomic,assign)CGFloat longitude;
@property(nonatomic,strong)UILabel *lable;
@property(nonatomic,strong)UITextField *searchField;
@property(nonatomic,strong)UITableView *TipsSearch;
@property(nonatomic,strong)NSMutableArray *dataArr;
@property(nonatomic,copy)NSString *rowCity;
@property(nonatomic,strong)UITextField *textField;
@property(nonatomic, strong) NSMutableArray *annoArr;
@property(nonatomic, assign) CGFloat la;
@property(nonatomic, assign) CGFloat lo;
@property(nonatomic, strong) NSMutableArray *pathPolylines;
//   
@property (nonatomic, strong) AMapNaviManager *naviManager;


-(instancetype)initWithFrame:(CGRect)frame;
@end
